package com.jacob.cloud.mall.categoryproduct.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName ProductConstant
 * @Description 商品相关常量类
 * @Author dust_fall
 * @Date 2022/6/29 22:40
 * @Version 1.0
 */
@Component
public class ProductConstant {

    public static String FILE_UPLOAD_DIR;

    @Value("${file.upload.directory}")
    public void setFileUploadDir(String fileUploadDir) {
        FILE_UPLOAD_DIR = fileUploadDir;
    }
}
